package org.lemon.transport.context.service.event;

import lombok.Getter;
import org.lemon.transport.context.data.device.DeviceProfile;
import org.springframework.context.ApplicationEvent;

import java.io.Serializable;

public class DeviceProfileUpdatedEvent extends ApplicationEvent implements Serializable {

    private static final long serialVersionUID = 3884264064887765146L;

    @Getter
    private final DeviceProfile deviceProfile;

    public DeviceProfileUpdatedEvent(Object source, DeviceProfile deviceProfile) {
        super(source);
        this.deviceProfile = deviceProfile;
    }
}
